﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;

namespace SpeedTestService
{
    /// <summary>
    /// Summary description for Service1
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
    // [System.Web.Script.Services.ScriptService]
    public class XAMLReportService : System.Web.Services.WebService
    {
/*        public enum ReportType
        {
            All,
            Release,
            Plan,
            Category,
            User,
            Total
        }

        public enum ReportClass
        {
	        Detail,
	        Summary,
	        Weekly,
	        Monthly
        }
*/
        [WebMethod]
        public string GetReport(string userName, string password, string reportType, string itemID, string[] parameters)
        {
            //validate user

            //GetReportType
            switch (reportType)
            {

            }

            return "Hello World";
        }

        public string GetCriteria(string userName, string password, string reportType)
        {

            return String.Empty;
        }

        private string GetAllReport(ReportClass reportClass, string[] parameters)
        {


            return String.Empty;
        }

        private string GetCategoryReport(ReportClass reportClass, string[] parameters)
        {

            return String.Empty;
        }

        private string GetPlanReport(ReportClass reportClass, string[] parameters)
        {

            return String.Empty;
        }

        private string GetReleaseReport(ReportClass reportClass, string[] parameters)
        {
 
            return String.Empty;
        }

        private string GetTotalReport(ReportClass reportClass, string[] parameters)
        {

            return String.Empty;
        }

        private string GetUserReport(ReportClass reportClass, string[] parameters)
        {

            return String.Empty;
        }
    }
}
